<template>
  <div class="employees-container">
    <div class="app-container">
      <!-- 卡片试图 -->
      <el-card>
        <!-- tab 标签页 -->
        <el-tabs>
          <el-tab-pane label="登录账户设置">
            <login-setting />
          </el-tab-pane>
          <el-tab-pane label="个人详情">
            <user-info />
          </el-tab-pane>
          <el-tab-pane label="岗位信息">
            <job-info />
          </el-tab-pane>
        </el-tabs>
      </el-card>
    </div>
  </div>
</template>

<script>
// 导入拆分的组件
import JobInfo from './components/job-info.vue'
import LoginSetting from './components/login-setting.vue'
import UserInfo from './components/user-info.vue'

export default {
  name: 'EmployeesDetail',
  // 挂载子组件
  components: {
    JobInfo,
    LoginSetting,
    UserInfo
  }
}
</script>

<style lang="scss" scoped>
</style>
